<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link rel="stylesheet" type="text/css" href="../../styles.css">
	<title>Selecting Generate Parameters</title>
</head>

<body>
<h1>Selecting Generate Parameters</h1>

<p>The generate parameters are selected on the Generate tab of the Codegen editor.</p>

<img src="../images/Generate.png" alt="Generate tab"/>

<h2>Parameters to Code Generation</h2>

<p>The generate parameters consist of:</p>

<ul>
<li><b>Model File:</b> - the path to the model file to use as basis for generation.</li>
<li><b>Target Folder:</b> - the path to the directory to use as the target for generation.</li>
</ul>

<h2>Model File</h2>

<p>The model file can be selected using the Browse button next to the Model File text field.  Navigate to the desired .opendds model file and hit OK.</p>

<div class="note">In order to generate code for a model, the model is required to have a non-blank model name.</div>

<h2>Target Directory</h2>

<p>The target directory can be selected using the Browse button next to the Target Directory text field.  Navigate to the desired generation directory and hit OK.</p>

<div class="note">The code generator will create the target directory if it does not exist.  
However, the Target Selection dialog has no interface for creating a directory.  In this case, the 
target directory can be typed into the Target Directory text box.</div>

<h2>Generation Buttons</h2>

<p>Also on the Generate tab are a series of Generate buttons.  These buttons are used to generate the various output files.</p>

<p>Next to each generate button is the name of the file it will generate, based upon the model name.</p>

<h3>Generate All Button</h3>

<p>The generate all button is a shortcut for hitting each generate button.</p>
</body>
</html>
